{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "27e52a8a-b1c3-4f5a-8e02-74a58cb77ca8",
   "metadata": {},
   "source": [
    "Connect Ollama using requests package"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "e1026d81-fd95-4a3b-9f98-98dc22863594",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Name: requests\n",
      "Version: 2.31.0\n",
      "Summary: Python HTTP for Humans.\n",
      "Home-page: https://requests.readthedocs.io\n",
      "Author: Kenneth Reitz\n",
      "Author-email: me@kennethreitz.org\n",
      "License: Apache 2.0\n",
      "Location: /opt/conda/lib/python3.11/site-packages\n",
      "Requires: certifi, charset-normalizer, idna, urllib3\n",
      "Required-by: conda, conda_package_streaming, huggingface-hub, jupyterhub, jupyterlab_server, langchain, langchain-community, langsmith, nbdime, requests-toolbelt\n"
     ]
    }
   ],
   "source": [
    "!pip show requests"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "712c321b-d212-4f07-b384-b6bd7ab918ea",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Set the URL for the Mistral language model API\n",
    "\n",
    "ollama_url = \"http://ollama:11434/api/generate\"\n",
    "\n",
    "model_name = \"mistral:v0.3\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "b288a706-49ed-4b37-bc67-60dd9f6fc240",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Set the text that you want to generate text for\n",
    "prompt = \"what is structurizr\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "67635c5c-1f6f-4f1f-95ec-f79f8b3c3f6a",
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests\n",
    "\n",
    "response = requests.post(ollama_url, json={\"model\": model_name, \"prompt\": prompt})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "8a238854-35dc-4c3d-8261-d354f1efd7c3",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "200\n"
     ]
    }
   ],
   "source": [
    "# Print the response from the API\n",
    "print(response.status_code)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "7949be9f-b162-4584-a9ac-67269630ab22",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:40.753916337Z\",\"response\":\" Struct\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:41.099290462Z\",\"response\":\"ur\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:41.232060171Z\",\"response\":\"iz\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:41.550429838Z\",\"response\":\"r\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:41.672674546Z\",\"response\":\" is\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:41.814171421Z\",\"response\":\" a\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:41.975922588Z\",\"response\":\" software\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:42.107976046Z\",\"response\":\" modeling\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:42.249319671Z\",\"response\":\" tool\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:42.389078213Z\",\"response\":\" that\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:42.540751005Z\",\"response\":\" helps\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:42.892454755Z\",\"response\":\" developers\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:43.062408422Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:43.408080088Z\",\"response\":\" architect\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:43.536897963Z\",\"response\":\"s\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:43.865039297Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:44.016178005Z\",\"response\":\" and\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:44.139871964Z\",\"response\":\" product\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:44.423042881Z\",\"response\":\" managers\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:44.671198047Z\",\"response\":\" visual\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:44.800217006Z\",\"response\":\"ize\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:45.190950381Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:45.343543964Z\",\"response\":\" document\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:45.472089089Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:45.598813839Z\",\"response\":\" and\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:45.725734798Z\",\"response\":\" communicate\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:45.926567923Z\",\"response\":\" their\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:46.134250798Z\",\"response\":\" software\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:46.296412923Z\",\"response\":\" architecture\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:46.47081109Z\",\"response\":\".\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:46.633438257Z\",\"response\":\" It\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:46.77109059Z\",\"response\":\" provides\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:46.911053507Z\",\"response\":\" a\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:47.070010924Z\",\"response\":\" platform\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:47.221125549Z\",\"response\":\" to\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:47.357297549Z\",\"response\":\" create\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:47.482905257Z\",\"response\":\" software\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:47.616850424Z\",\"response\":\" design\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:47.801604174Z\",\"response\":\" models\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:48.160026924Z\",\"response\":\" like\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:48.346040382Z\",\"response\":\" context\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:48.463653216Z\",\"response\":\" maps\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:48.630819799Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:48.766778591Z\",\"response\":\" component\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:48.913822299Z\",\"response\":\" models\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:49.083536758Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:49.253017008Z\",\"response\":\" interaction\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:49.379855841Z\",\"response\":\" diagram\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:49.5177398Z\",\"response\":\"s\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:49.689854716Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:49.819984216Z\",\"response\":\" and\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:49.948991883Z\",\"response\":\" code\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:50.088373967Z\",\"response\":\" structure\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:50.346194175Z\",\"response\":\" diagram\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:50.496643425Z\",\"response\":\"s\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:50.662204509Z\",\"response\":\".\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:50.849705884Z\",\"response\":\"\\n\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:50.988756634Z\",\"response\":\"\\n\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:51.133721467Z\",\"response\":\"The\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:51.289752551Z\",\"response\":\" main\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:51.442215509Z\",\"response\":\" goal\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:51.572239676Z\",\"response\":\" of\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:51.702418134Z\",\"response\":\" Struct\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:51.942436676Z\",\"response\":\"ur\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:52.101247718Z\",\"response\":\"iz\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:52.245480301Z\",\"response\":\"r\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:52.372994093Z\",\"response\":\" is\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:52.503652801Z\",\"response\":\" to\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:52.659193593Z\",\"response\":\" make\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:52.816498135Z\",\"response\":\" it\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:52.963655676Z\",\"response\":\" easy\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:53.16592201Z\",\"response\":\" for\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:53.335567427Z\",\"response\":\" teams\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:53.46312426Z\",\"response\":\" to\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:53.609734427Z\",\"response\":\" create\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:53.74873901Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:54.007256802Z\",\"response\":\" share\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:54.137350802Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:54.266333302Z\",\"response\":\" and\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:54.400760927Z\",\"response\":\" maintain\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:54.535570385Z\",\"response\":\" software\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:54.804534094Z\",\"response\":\" architecture\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:54.957148927Z\",\"response\":\" documentation\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:55.090219761Z\",\"response\":\" that\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:55.219235844Z\",\"response\":\" is\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:55.498013636Z\",\"response\":\" both\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:55.711509594Z\",\"response\":\" understand\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:55.969543803Z\",\"response\":\"able\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:56.145795303Z\",\"response\":\" by\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:56.300303053Z\",\"response\":\" technical\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:56.44443722Z\",\"response\":\" and\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:56.59285772Z\",\"response\":\" non\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:56.73970447Z\",\"response\":\"-\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:56.889778887Z\",\"response\":\"techn\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:57.017938553Z\",\"response\":\"ical\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:57.14358547Z\",\"response\":\" stake\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:57.271396553Z\",\"response\":\"holders\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:57.405354303Z\",\"response\":\" alike\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:57.534563137Z\",\"response\":\".\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:57.670418595Z\",\"response\":\" It\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:57.84706172Z\",\"response\":\" supports\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:58.00089147Z\",\"response\":\" various\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:58.145359262Z\",\"response\":\" programming\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:58.356868512Z\",\"response\":\" languages\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:58.498703846Z\",\"response\":\" and\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:58.656863096Z\",\"response\":\" framework\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:58.793372387Z\",\"response\":\"s\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:58.933027554Z\",\"response\":\" like\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:59.069062138Z\",\"response\":\" Java\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:59.197340388Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:59.336259846Z\",\"response\":\" .\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:59.481208804Z\",\"response\":\"NET\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:59.617230513Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:59.749303263Z\",\"response\":\" Node\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:32:59.891904555Z\",\"response\":\".\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:00.319146555Z\",\"response\":\"js\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:00.44241968Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:00.80580793Z\",\"response\":\" Ruby\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:00.939557013Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:01.07469568Z\",\"response\":\" PHP\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:01.218342639Z\",\"response\":\",\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:01.437259597Z\",\"response\":\" and\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:02.046862458Z\",\"response\":\" Python\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:02.200805541Z\",\"response\":\".\",\"done\":false}\n",
      "{\"model\":\"mistral:v0.3\",\"created_at\":\"2024-11-17T00:33:02.3694385Z\",\"response\":\"\",\"done\":true,\"done_reason\":\"stop\",\"context\":[3,29473,1535,1117,2526,1092,1231,29480,4,1027,28480,1092,1231,29480,1117,1032,4698,28240,4689,1137,8031,18660,29493,8589,29481,29493,1072,2861,18258,9577,1421,29493,4016,29493,1072,17055,1420,4698,14579,29491,1429,6080,1032,5949,1066,2999,4698,3389,5762,1505,3526,12513,29493,6409,5762,29493,11954,14503,29481,29493,1072,3464,5461,14503,29481,29491,781,781,1782,2959,6309,1070,28480,1092,1231,29480,1117,1066,1806,1146,4179,1122,7709,1066,2999,29493,4866,29493,1072,9855,4698,14579,13673,1137,1117,2328,3148,1290,1254,10835,1072,2611,29501,23975,1513,16558,16291,22660,29491,1429,12330,4886,17060,14796,1072,11550,29481,1505,12407,29493,1610,12466,29493,10895,29491,3545,29493,27895,29493,20962,29493,1072,22134,29491],\"total_duration\":33785960306,\"load_duration\":7624434837,\"prompt_eval_count\":11,\"prompt_eval_duration\":4514000000,\"eval_count\":125,\"eval_duration\":21630000000}\n",
      "\n"
     ]
    }
   ],
   "source": [
    "print(response.text)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
